<br />
<?php if( count($this->navigation) ): ?>
  <div class='tabs'>
    <?php
      // Render the menu
      //->setUlClass()
      echo $this->navigation()->menu()->setContainer($this->navigation)->render()
    ?>
  </div>
<?php endif; ?>
<div>
<div>

</div>
<br />
<div>

<?php if( $this->paginator->count() ) : ?>

    <div>
        <?php 
            echo $this->paginationControl($this->paginator);
        ?>
    </div>
    <div class="my_field">
        <table class='admin_table' style="width: 100%;">
        <thead>
          <tr>
            <th>
            	<?php echo $this->translate("ID"); ?>
            </th>
            <th class=''>
            	<?php echo $this->translate("Display name"); ?>
            </th>
            <th class=''>
                    	<?php echo $this->translate("Photo"); ?>
                    </th>
            <th class=''>
            	<?php echo $this->translate("Creation Date"); ?>
            </th>
            <th class=''>
            	<?php echo $this->translate("Modified Date"); ?>
            </th>
            
            <th>
              <?php echo $this->translate("Options") ?>
            </th>
          </tr>
        </thead>
        <tbody class="field_table_body">
             <?php  foreach ($this->paginator as $item): ?>
                <tr>
                    <td>
         	          <?php echo $item->getIdentity(); ?>
                    </td>
                    <td>
         	          <?php echo $item->getTitle(); ?>
                    </td>
                    
                    <td>
         	          <?php echo $this->itemPhoto($item, 'thumb.icon')  ?>
                    </td>
                    <td>
         	          <?php echo $item->creation_date; ?>
                    </td>
                    <td>
         	          <?php echo $item->modified_date; ?>
                    </td>
                    
                    <td>
                        <?php 
                            echo $this->htmlLink(
                                            array(
                                            'route'			=>	'default',
                                            'module'        => 'country',                                   
                                            'controller'	=>	'admin-manage-country',
                                            'action'		=>	'remove-manager',
                                            'uid'			=>	$item->getIdentity(),
                                            'cid'           =>  $this->country_id,
                                            'format'        =>  'smoothbox'
                                            ),
                                            $this->translate("Remove Manager"),
                                            array(
                                                'class' => 'smoothbox',
                                            )
                                );
                        ?>
                         
                    </td>
                </tr>

             <?php endforeach; ?>
        </tbody>
        </table>
    </div>
<?php else:?>
<?php
    $addManageLink = $this->htmlLink(
                                        array(
                                        'route'			=>	'default',
                                        'module'        => 'country',                                   
                                        'controller'	=>	'admin-manage-country',
                                        'action'		=>	'member-to-add',
                                        'cid'           =>  $this->country_id,
                                        ),
                                        $this->translate("add Manager"),
                                        array(
                                            
                                        )
                         ); 
?>
<div class="tip"> <span> <?php echo $this->translate("There no manager in this country, Click here %s to add manager to country",$addManageLink);?> </span></div>
<?php endif; ?>
</div>
</div>